package cn.com.sinosoft.ares.insurance.dao;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

/**
 * Description: 客户端配置表
 * Author: lishangmin
 * Created: 2018-09-11 15:05
 */
@Mapper
@Repository
public interface AresClientConfigDao {

    @Select("select a.`map_value` from `ares_client_config` a  where a.`client_code` = #{clientCode} and a.`risk_code` = #{riskCode} and a.`map_key` = #{mapKey};")
    String selectByKey(@Param("clientCode")String clientCode, @Param("riskCode")String riskCode, @Param("mapKey")String mapKey);

}
